﻿using System.ComponentModel.DataAnnotations;

namespace FakeXiecheng.API.Dtos
{
    public class RegisterDTO
    {
        [Required]
        public string Email { get; set; }
        [Required]
        public string Password { get; set; }
        [Required]
        [Compare(nameof(Password), ErrorMessage = "密码不一致！")]
        public string ConfirmPassword { get; set; }


    }
}
